import db from '../../mysql/mysql.js';
import qs from 'qs';
function getGoods(req, res) {
  res.send({
    status: 0,
    data: [
      {
        categoryName: '热卖排行',
        categoryID: '001',
        price: '￥2542.00',
        title:
          '【官网价直降1100】Apple iPhone 8 Plus 256GB 银色 移动联通电信4G手机',
        categoryBigImg:
          'https://pic.imgdb.cn/item/62296b905baa1a80abd87d08.jpg',
      },
      {
        categoryName: '特价排行',
        categoryID: '002',
        price: '￥452.00',
        title:
          '美的（Midea）变频家用微波炉 900W微烤一体 智能湿度感应 23升平板加热 易清洁',
        categoryBigImg:
          'https://pic.imgdb.cn/item/62296c415baa1a80abd90704.jpg',
      },
      {
        categoryName: '新品排行',
        categoryID: '003',
        price: '2323.00',
        title:
          '慕思布艺床 艾慕棉麻双人床极简意式实木框架婚床主卧床 深灰布艺床(床架+排骨架)',
        categoryBigImg:
          'https://pic.imgdb.cn/item/62296c495baa1a80abd90c63.jpg',
      },
    ],
  })
}
function getGuessLike(req, res) {
  res.send({
    status: 0,
    data: [
      {
        goodsImg: 'https://pic.imgdb.cn/item/622c63b15baa1a80ab88221e.png',
        goodTitle: '阳光美包新款单肩包女包时尚子母包四件套女',
        goodPrice: '242.00',
      },
      {
        goodsImg: 'https://pic.imgdb.cn/item/622c63b15baa1a80ab88222c.png',
        goodTitle: '阳光美包新款单肩包女包时尚子母包四件套女',
        goodPrice: '242.00',
      },
      {
        goodsImg: 'https://pic.imgdb.cn/item/622c63b15baa1a80ab882224.png',
        goodTitle: '阳光美包新款单肩包女包时尚子母包四件套女',
        goodPrice: '242.00',
      },
      {
        goodsImg: 'https://pic.imgdb.cn/item/622c63b15baa1a80ab88221e.png',
        goodTitle: '阳光美包新款单肩包女包时尚子母包四件套女',
        goodPrice: '242.00',
      },
      {
        goodsImg: 'https://pic.imgdb.cn/item/622c63b15baa1a80ab88222c.png',
        goodTitle: '阳光美包新款单肩包女包时尚子母包四件套女',
        goodPrice: '242.00',
      },
      {
        goodsImg: 'https://pic.imgdb.cn/item/622c63b15baa1a80ab882224.png',
        goodTitle: '阳光美包新款单肩包女包时尚子母包四件套女',
        goodPrice: '242.00',
      },
    ],
  })
}
function getFloor(req, res) {
  res.send({
    status: 0,
    data: [
      {
        FloorTitle: '家用电器',
        FloorId: '1',
        FloorOne: {
          OneTitle: [
            '节能补贴',
            '4K电视',
            '空气净化器',
            '电饭煲',
            '滚筒洗衣机',
            '电热水器',
          ],
          OneImg: {
            ImgUrl: 'https://pic.imgdb.cn/item/622d71905baa1a80ab1ee55d.png',
            DetailID: 0,
          },
        },
        FloorTwo: [
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d728b5baa1a80ab1f9988.png',
            DetailID: 0,
          },
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d728b5baa1a80ab1f998b.png',
            DetailID: 0,
          },
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d728b5baa1a80ab1f9992.png',
            DetailID: 0,
          },
        ],
        FloorThree: [
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d733e5baa1a80ab1fe2c7.png',
            DetailID: 0,
          },
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d733e5baa1a80ab1fe2cb.png',
            DetailID: 0,
          },
        ],
        FloorFour: {
          ImgUrl: 'https://pic.imgdb.cn/item/622d73715baa1a80ab1ffebd.png',
          DetailID: 0,
        },
        FloorFive: [
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d793a5baa1a80ab227c6b.png',
            DetailID: 0,
          },
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d793a5baa1a80ab227c6e.png',
            DetailID: 0,
          },
        ],
      },
      {
        FloorTitle: '手机商城',
        FloorId: '2',
        FloorOne: {
          OneTitle: [
            '节能补贴22',
            '4K电视22',
            '空气净化器22',
            '电饭煲22',
            '滚筒洗衣机22',
            '电热水器22',
          ],
          OneImg: {
            ImgUrl: 'https://pic.imgdb.cn/item/622d71905baa1a80ab1ee55d.png',
            DetailID: 0,
          },
        },
        FloorTwo: [
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d728b5baa1a80ab1f9988.png',
            DetailID: 0,
          },
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d728b5baa1a80ab1f998b.png',
            DetailID: 0,
          },
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d728b5baa1a80ab1f9992.png',
            DetailID: 0,
          },
        ],
        FloorThree: [
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d733e5baa1a80ab1fe2c7.png',
            DetailID: 0,
          },
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d733e5baa1a80ab1fe2cb.png',
            DetailID: 0,
          },
        ],
        FloorFour: {
          ImgUrl: 'https://pic.imgdb.cn/item/622d73715baa1a80ab1ffebd.png',
          DetailID: 0,
        },
        FloorFive: [
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d793a5baa1a80ab227c6b.png',
            DetailID: 0,
          },
          {
            ImgUrl: 'https://pic.imgdb.cn/item/622d793a5baa1a80ab227c6e.png',
            DetailID: 0,
          },
        ],
      },
    ],
  })
}
// 获取商品三级分类目录
function getBaseCategoryList(req, res) {
  res.send({
    code: 200,
    msg: '成功',
    data: 
      [
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '电子书', categoryId: 1 },
                { categoryName: '网络原创', categoryId: 2 },
                { categoryName: '数字杂志', categoryId: 3 },
                { categoryName: '多媒体图书', categoryId: 4 },
              ],
              categoryName: '电子书刊',
              categoryId: 1,
            },
            {
              categoryChild: [
                { categoryName: '音乐', categoryId: 5 },
                { categoryName: '影视', categoryId: 6 },
                { categoryName: '教育音像', categoryId: 7 },
              ],
              categoryName: '音像',
              categoryId: 2,
            },
            {
              categoryChild: [
                { categoryName: '少儿', categoryId: 8 },
                { categoryName: '商务投资', categoryId: 9 },
                { categoryName: '英语学习与考试', categoryId: 10 },
                { categoryName: '文学', categoryId: 11 },
                { categoryName: '传记', categoryId: 12 },
                { categoryName: '励志', categoryId: 13 },
              ],
              categoryName: '英文原版',
              categoryId: 3,
            },
            {
              categoryChild: [
                { categoryName: '小说', categoryId: 14 },
                { categoryName: '文学', categoryId: 15 },
                { categoryName: '青春文学', categoryId: 16 },
                { categoryName: '传记', categoryId: 17 },
                { categoryName: '艺术', categoryId: 18 },
              ],
              categoryName: '文艺',
              categoryId: 4,
            },
            {
              categoryChild: [
                { categoryName: '少儿', categoryId: 19 },
                { categoryName: '0-2岁', categoryId: 20 },
                { categoryName: '3-6岁', categoryId: 21 },
                { categoryName: '7-10岁', categoryId: 22 },
                { categoryName: '11-14岁', categoryId: 23 },
              ],
              categoryName: '少儿',
              categoryId: 5,
            },
            {
              categoryChild: [
                { categoryName: '历史', categoryId: 24 },
                { categoryName: '哲学', categoryId: 25 },
                { categoryName: '国学', categoryId: 26 },
                { categoryName: '政治/军事', categoryId: 27 },
                { categoryName: '法律', categoryId: 28 },
                { categoryName: '人文社科', categoryId: 29 },
                { categoryName: '心理学', categoryId: 30 },
                { categoryName: '文化', categoryId: 31 },
                { categoryName: '社会科学', categoryId: 32 },
              ],
              categoryName: '人文社科',
              categoryId: 6,
            },
            {
              categoryChild: [
                { categoryName: '经济', categoryId: 33 },
                { categoryName: '金融与投资', categoryId: 34 },
                { categoryName: '管理', categoryId: 35 },
                { categoryName: '励志与成功', categoryId: 36 },
              ],
              categoryName: '经管励志',
              categoryId: 7,
            },
            {
              categoryChild: [
                { categoryName: '生活', categoryId: 37 },
                { categoryName: '健身与保健', categoryId: 38 },
                { categoryName: '家庭与育儿', categoryId: 39 },
                { categoryName: '旅游', categoryId: 40 },
                { categoryName: '烹饪美食', categoryId: 41 },
              ],
              categoryName: '生活',
              categoryId: 8,
            },
            {
              categoryChild: [
                { categoryName: '工业技术', categoryId: 42 },
                { categoryName: '科普读物', categoryId: 43 },
                { categoryName: '建筑', categoryId: 44 },
                { categoryName: '医学', categoryId: 45 },
                { categoryName: '科学与自然', categoryId: 46 },
                { categoryName: '计算机与互联网', categoryId: 47 },
                { categoryName: '电子通信', categoryId: 48 },
              ],
              categoryName: '科技',
              categoryId: 9,
            },
            {
              categoryChild: [
                { categoryName: '中小学教辅', categoryId: 49 },
                { categoryName: '教育与考试', categoryId: 50 },
                { categoryName: '外语学习', categoryId: 51 },
                { categoryName: '大中专教材', categoryId: 52 },
                { categoryName: '字典词典', categoryId: 53 },
              ],
              categoryName: '教育',
              categoryId: 10,
            },
            {
              categoryChild: [
                { categoryName: '艺术/设计/收藏', categoryId: 54 },
                { categoryName: '经济管理', categoryId: 55 },
                { categoryName: '文化/学术', categoryId: 56 },
                { categoryName: '少儿', categoryId: 57 },
              ],
              categoryName: '港台图书',
              categoryId: 11,
            },
            {
              categoryChild: [
                { categoryName: '工具书', categoryId: 58 },
                { categoryName: '杂志/期刊', categoryId: 59 },
                { categoryName: '套装书', categoryId: 60 },
              ],
              categoryName: '其他',
              categoryId: 12,
            },
          ],
          categoryName: '图书、音像、电子书刊',
          categoryId: 1,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '手机', categoryId: 61 },
                { categoryName: '对讲机', categoryId: 62 },
              ],
              categoryName: '手机通讯',
              categoryId: 13,
            },
            {
              categoryChild: [
                { categoryName: '合约机', categoryId: 63 },
                { categoryName: '选号中心', categoryId: 64 },
                { categoryName: '装宽带', categoryId: 65 },
                { categoryName: '办套餐', categoryId: 66 },
              ],
              categoryName: '运营商',
              categoryId: 14,
            },
            {
              categoryChild: [
                { categoryName: '移动电源', categoryId: 67 },
                { categoryName: '电池/移动电源', categoryId: 68 },
                { categoryName: '蓝牙耳机', categoryId: 69 },
                { categoryName: '充电器/数据线', categoryId: 70 },
                { categoryName: '苹果周边', categoryId: 71 },
                { categoryName: '手机耳机', categoryId: 72 },
                { categoryName: '手机贴膜', categoryId: 73 },
                { categoryName: '手机存储卡', categoryId: 74 },
                { categoryName: '充电器', categoryId: 75 },
                { categoryName: '数据线', categoryId: 76 },
                { categoryName: '手机保护套', categoryId: 77 },
                { categoryName: '车载配件', categoryId: 78 },
                { categoryName: 'iPhone 配件', categoryId: 79 },
                { categoryName: '手机电池', categoryId: 80 },
                { categoryName: '创意配件', categoryId: 81 },
                { categoryName: '便携/无线音响', categoryId: 82 },
                { categoryName: '手机饰品', categoryId: 83 },
                { categoryName: '拍照配件', categoryId: 84 },
                { categoryName: '手机支架', categoryId: 85 },
              ],
              categoryName: '手机配件',
              categoryId: 15,
            },
          ],
          categoryName: '手机',
          categoryId: 2,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '平板电视', categoryId: 86 },
                { categoryName: '空调', categoryId: 87 },
                { categoryName: '冰箱', categoryId: 88 },
                { categoryName: '洗衣机', categoryId: 89 },
                { categoryName: '家庭影院', categoryId: 90 },
                { categoryName: 'DVD/电视盒子', categoryId: 91 },
                { categoryName: '迷你音响', categoryId: 92 },
                { categoryName: '冷柜/冰吧', categoryId: 93 },
                { categoryName: '家电配件', categoryId: 94 },
                { categoryName: '功放', categoryId: 95 },
                { categoryName: '回音壁/Soundbar', categoryId: 96 },
                { categoryName: 'Hi-Fi专区', categoryId: 97 },
                { categoryName: '电视盒子', categoryId: 98 },
                { categoryName: '酒柜', categoryId: 99 },
              ],
              categoryName: '大 家 电',
              categoryId: 16,
            },
            {
              categoryChild: [
                { categoryName: '燃气灶', categoryId: 100 },
                { categoryName: '油烟机', categoryId: 101 },
                { categoryName: '热水器', categoryId: 102 },
                { categoryName: '消毒柜', categoryId: 103 },
                { categoryName: '洗碗机', categoryId: 104 },
              ],
              categoryName: '厨卫大电',
              categoryId: 17,
            },
            {
              categoryChild: [
                { categoryName: '料理机', categoryId: 105 },
                { categoryName: '榨汁机', categoryId: 106 },
                { categoryName: '电饭煲', categoryId: 107 },
                { categoryName: '电压力锅', categoryId: 108 },
                { categoryName: '豆浆机', categoryId: 109 },
                { categoryName: '咖啡机', categoryId: 110 },
                { categoryName: '微波炉', categoryId: 111 },
                { categoryName: '电烤箱', categoryId: 112 },
                { categoryName: '电磁炉', categoryId: 113 },
                { categoryName: '面包机', categoryId: 114 },
                { categoryName: '煮蛋器', categoryId: 115 },
                { categoryName: '酸奶机', categoryId: 116 },
                { categoryName: '电炖锅', categoryId: 117 },
                { categoryName: '电水壶/热水瓶', categoryId: 118 },
                { categoryName: '电饼铛', categoryId: 119 },
                { categoryName: '多用途锅', categoryId: 120 },
                { categoryName: '电烧烤炉', categoryId: 121 },
                { categoryName: '果蔬解毒机', categoryId: 122 },
                { categoryName: '其它厨房电器', categoryId: 123 },
                { categoryName: '养生壶/煎药壶', categoryId: 124 },
                { categoryName: '电热饭盒', categoryId: 125 },
              ],
              categoryName: '厨房小电',
              categoryId: 18,
            },
            {
              categoryChild: [
                { categoryName: '取暖电器', categoryId: 126 },
                { categoryName: '净化器', categoryId: 127 },
                { categoryName: '加湿器', categoryId: 128 },
                { categoryName: '扫地机器人', categoryId: 129 },
                { categoryName: '吸尘器', categoryId: 130 },
                { categoryName: '挂烫机/熨斗', categoryId: 131 },
                { categoryName: '插座', categoryId: 132 },
                { categoryName: '电话机', categoryId: 133 },
                { categoryName: '清洁机', categoryId: 134 },
                { categoryName: '除湿机', categoryId: 135 },
                { categoryName: '干衣机', categoryId: 136 },
                { categoryName: '收录/音机', categoryId: 137 },
                { categoryName: '电风扇', categoryId: 138 },
                { categoryName: '冷风扇', categoryId: 139 },
                { categoryName: '其它生活电器', categoryId: 140 },
                { categoryName: '生活电器配件', categoryId: 141 },
                { categoryName: '净水器', categoryId: 142 },
                { categoryName: '饮水机', categoryId: 143 },
              ],
              categoryName: '生活电器',
              categoryId: 19,
            },
            {
              categoryChild: [
                { categoryName: '剃须刀', categoryId: 144 },
                { categoryName: '剃/脱毛器', categoryId: 145 },
                { categoryName: '口腔护理', categoryId: 146 },
                { categoryName: '电吹风', categoryId: 147 },
                { categoryName: '美容器', categoryId: 148 },
                { categoryName: '理发器', categoryId: 149 },
                { categoryName: '卷/直发器', categoryId: 150 },
                { categoryName: '按摩椅', categoryId: 151 },
                { categoryName: '按摩器', categoryId: 152 },
                { categoryName: '足浴盆', categoryId: 153 },
                { categoryName: '血压计', categoryId: 154 },
                { categoryName: '电子秤/厨房秤', categoryId: 155 },
                { categoryName: '血糖仪', categoryId: 156 },
                { categoryName: '体温计', categoryId: 157 },
                { categoryName: '其它健康电器', categoryId: 158 },
                { categoryName: '计步器/脂肪检测仪', categoryId: 159 },
              ],
              categoryName: '个护健康',
              categoryId: 20,
            },
            {
              categoryChild: [
                { categoryName: '电动工具', categoryId: 160 },
                { categoryName: '手动工具', categoryId: 161 },
                { categoryName: '仪器仪表', categoryId: 162 },
                { categoryName: '浴霸/排气扇', categoryId: 163 },
                { categoryName: '灯具', categoryId: 164 },
                { categoryName: 'LED灯', categoryId: 165 },
                { categoryName: '洁身器', categoryId: 166 },
                { categoryName: '水槽', categoryId: 167 },
                { categoryName: '龙头', categoryId: 168 },
                { categoryName: '淋浴花洒', categoryId: 169 },
                { categoryName: '厨卫五金', categoryId: 170 },
                { categoryName: '家具五金', categoryId: 171 },
                { categoryName: '门铃', categoryId: 172 },
                { categoryName: '电气开关', categoryId: 173 },
                { categoryName: '插座', categoryId: 174 },
                { categoryName: '电工电料', categoryId: 175 },
                { categoryName: '监控安防', categoryId: 176 },
                { categoryName: '电线/线缆', categoryId: 177 },
              ],
              categoryName: '五金家装',
              categoryId: 21,
            },
          ],
          categoryName: '家用电器',
          categoryId: 3,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '数码相机', categoryId: 178 },
                { categoryName: '单电/微单相机', categoryId: 179 },
                { categoryName: '单反相机', categoryId: 180 },
                { categoryName: '摄像机', categoryId: 181 },
                { categoryName: '拍立得', categoryId: 182 },
                { categoryName: '运动相机', categoryId: 183 },
                { categoryName: '镜头', categoryId: 184 },
                { categoryName: '户外器材', categoryId: 185 },
                { categoryName: '影棚器材', categoryId: 186 },
                { categoryName: '冲印服务', categoryId: 187 },
                { categoryName: '数码相框', categoryId: 188 },
              ],
              categoryName: '摄影摄像',
              categoryId: 22,
            },
            {
              categoryChild: [
                { categoryName: '存储卡', categoryId: 189 },
                { categoryName: '读卡器', categoryId: 190 },
                { categoryName: '滤镜', categoryId: 191 },
                { categoryName: '闪光灯/手柄', categoryId: 192 },
                { categoryName: '相机包', categoryId: 193 },
                { categoryName: '三脚架/云台', categoryId: 194 },
                { categoryName: '相机清洁/贴膜', categoryId: 195 },
                { categoryName: '机身附件', categoryId: 196 },
                { categoryName: '镜头附件', categoryId: 197 },
                { categoryName: '电池/充电器', categoryId: 198 },
                { categoryName: '移动电源', categoryId: 199 },
                { categoryName: '数码支架', categoryId: 200 },
              ],
              categoryName: '数码配件',
              categoryId: 23,
            },
            {
              categoryChild: [
                { categoryName: '智能手环', categoryId: 201 },
                { categoryName: '智能手表', categoryId: 202 },
                { categoryName: '智能眼镜', categoryId: 203 },
                { categoryName: '运动跟踪器', categoryId: 204 },
                { categoryName: '健康监测', categoryId: 205 },
                { categoryName: '智能配饰', categoryId: 206 },
                { categoryName: '智能家居', categoryId: 207 },
                { categoryName: '体感车', categoryId: 208 },
                { categoryName: '其他配件', categoryId: 209 },
                { categoryName: '智能机器人', categoryId: 210 },
                { categoryName: '无人机', categoryId: 211 },
              ],
              categoryName: '智能设备',
              categoryId: 24,
            },
            {
              categoryChild: [
                { categoryName: 'MP3/MP4', categoryId: 212 },
                { categoryName: '智能设备', categoryId: 213 },
                { categoryName: '耳机/耳麦', categoryId: 214 },
                { categoryName: '便携/无线音箱', categoryId: 215 },
                { categoryName: '音箱/音响', categoryId: 216 },
                { categoryName: '高清播放器', categoryId: 217 },
                { categoryName: '收音机', categoryId: 218 },
                { categoryName: 'MP3/MP4配件', categoryId: 219 },
                { categoryName: '麦克风', categoryId: 220 },
                { categoryName: '专业音频', categoryId: 221 },
                { categoryName: '苹果配件', categoryId: 222 },
              ],
              categoryName: '影音娱乐',
              categoryId: 25,
            },
            {
              categoryChild: [
                { categoryName: '学生平板', categoryId: 223 },
                { categoryName: '点读机/笔', categoryId: 224 },
                { categoryName: '早教益智', categoryId: 225 },
                { categoryName: '录音笔', categoryId: 226 },
                { categoryName: '电纸书', categoryId: 227 },
                { categoryName: '电子词典', categoryId: 228 },
                { categoryName: '复读机', categoryId: 229 },
              ],
              categoryName: '电子教育',
              categoryId: 26,
            },
            {
              categoryChild: [
                { categoryName: '延保服务', categoryId: 230 },
                { categoryName: '杀毒软件', categoryId: 231 },
                { categoryName: '积分商品', categoryId: 232 },
              ],
              categoryName: '虚拟商品',
              categoryId: 27,
            },
          ],
          categoryName: '数码',
          categoryId: 4,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '宠物主粮', categoryId: 278 },
                { categoryName: '宠物零食', categoryId: 279 },
                { categoryName: '医疗保健', categoryId: 280 },
                { categoryName: '家居日用', categoryId: 281 },
                { categoryName: '宠物玩具', categoryId: 282 },
                { categoryName: '出行装备', categoryId: 283 },
                { categoryName: '洗护美容', categoryId: 284 },
              ],
              categoryName: '宠物生活',
              categoryId: 32,
            },
            {
              categoryChild: [
                { categoryName: '桌布/罩件', categoryId: 233 },
                { categoryName: '地毯地垫', categoryId: 234 },
                { categoryName: '沙发垫套/椅垫', categoryId: 235 },
                { categoryName: '床品套件', categoryId: 236 },
                { categoryName: '被子', categoryId: 237 },
                { categoryName: '枕芯', categoryId: 238 },
                { categoryName: '床单被罩', categoryId: 239 },
                { categoryName: '毯子', categoryId: 240 },
                { categoryName: '床垫/床褥', categoryId: 241 },
                { categoryName: '蚊帐', categoryId: 242 },
                { categoryName: '抱枕靠垫', categoryId: 243 },
                { categoryName: '毛巾浴巾', categoryId: 244 },
                { categoryName: '电热毯', categoryId: 245 },
                { categoryName: '窗帘/窗纱', categoryId: 246 },
                { categoryName: '布艺软饰', categoryId: 247 },
                { categoryName: '凉席', categoryId: 248 },
              ],
              categoryName: '家纺',
              categoryId: 28,
            },
            {
              categoryChild: [
                { categoryName: '台灯', categoryId: 249 },
                { categoryName: '节能灯', categoryId: 250 },
                { categoryName: '装饰灯', categoryId: 251 },
                { categoryName: '落地灯', categoryId: 252 },
                { categoryName: '应急灯/手电', categoryId: 253 },
                { categoryName: 'LED灯', categoryId: 254 },
                { categoryName: '吸顶灯', categoryId: 255 },
                { categoryName: '五金电器', categoryId: 256 },
                { categoryName: '筒灯射灯', categoryId: 257 },
                { categoryName: '吊灯', categoryId: 258 },
                { categoryName: '氛围照明', categoryId: 259 },
              ],
              categoryName: '灯具',
              categoryId: 29,
            },
            {
              categoryChild: [
                { categoryName: '保暖防护', categoryId: 260 },
                { categoryName: '收纳用品', categoryId: 261 },
                { categoryName: '雨伞雨具', categoryId: 262 },
                { categoryName: '浴室用品', categoryId: 263 },
                { categoryName: '缝纫/针织用品', categoryId: 264 },
                { categoryName: '洗晒/熨烫', categoryId: 265 },
                { categoryName: '净化除味', categoryId: 266 },
              ],
              categoryName: '生活日用',
              categoryId: 30,
            },
            {
              categoryChild: [
                { categoryName: '相框/照片墙', categoryId: 267 },
                { categoryName: '装饰字画', categoryId: 268 },
                { categoryName: '节庆饰品', categoryId: 269 },
                { categoryName: '手工/十字绣', categoryId: 270 },
                { categoryName: '装饰摆件', categoryId: 271 },
                { categoryName: '帘艺隔断', categoryId: 272 },
                { categoryName: '墙贴/装饰贴', categoryId: 273 },
                { categoryName: '钟饰', categoryId: 274 },
                { categoryName: '花瓶花艺', categoryId: 275 },
                { categoryName: '香薰蜡烛', categoryId: 276 },
                { categoryName: '创意家居', categoryId: 277 },
              ],
              categoryName: '家装软饰',
              categoryId: 31,
            },
          ],
          categoryName: '家居家装',
          categoryId: 5,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '笔记本', categoryId: 285 },
                { categoryName: '超极本', categoryId: 286 },
                { categoryName: '游戏本', categoryId: 287 },
                { categoryName: '平板电脑', categoryId: 288 },
                { categoryName: '平板电脑配件', categoryId: 289 },
                { categoryName: '台式机', categoryId: 290 },
                { categoryName: '服务器/工作站', categoryId: 291 },
                { categoryName: '笔记本配件', categoryId: 292 },
                { categoryName: '一体机', categoryId: 293 },
              ],
              categoryName: '电脑整机',
              categoryId: 33,
            },
            {
              categoryChild: [
                { categoryName: 'CPU', categoryId: 294 },
                { categoryName: '主板', categoryId: 295 },
                { categoryName: '显卡', categoryId: 296 },
                { categoryName: '硬盘', categoryId: 297 },
                { categoryName: 'SSD固态硬盘', categoryId: 298 },
                { categoryName: '内存', categoryId: 299 },
                { categoryName: '机箱', categoryId: 300 },
                { categoryName: '电源', categoryId: 301 },
                { categoryName: '显示器', categoryId: 302 },
                { categoryName: '刻录机/光驱', categoryId: 303 },
                { categoryName: '散热器', categoryId: 304 },
                { categoryName: '声卡/扩展卡', categoryId: 305 },
                { categoryName: '装机配件', categoryId: 306 },
                { categoryName: '组装电脑', categoryId: 307 },
              ],
              categoryName: '电脑配件',
              categoryId: 34,
            },
            {
              categoryChild: [
                { categoryName: '移动硬盘', categoryId: 308 },
                { categoryName: 'U盘', categoryId: 309 },
                { categoryName: '鼠标', categoryId: 310 },
                { categoryName: '键盘', categoryId: 311 },
                { categoryName: '鼠标垫', categoryId: 312 },
                { categoryName: '摄像头', categoryId: 313 },
                { categoryName: '手写板', categoryId: 314 },
                { categoryName: '硬盘盒', categoryId: 315 },
                { categoryName: '插座', categoryId: 316 },
                { categoryName: '线缆', categoryId: 317 },
                { categoryName: 'UPS电源', categoryId: 318 },
                { categoryName: '电脑工具', categoryId: 319 },
                { categoryName: '游戏设备', categoryId: 320 },
                { categoryName: '电玩', categoryId: 321 },
                { categoryName: '电脑清洁', categoryId: 322 },
                { categoryName: '网络仪表仪器', categoryId: 323 },
              ],
              categoryName: '外设产品',
              categoryId: 35,
            },
            {
              categoryChild: [
                { categoryName: '游戏机', categoryId: 324 },
                { categoryName: '游戏耳机', categoryId: 325 },
                { categoryName: '手柄/方向盘', categoryId: 326 },
                { categoryName: '游戏软件', categoryId: 327 },
                { categoryName: '游戏周边', categoryId: 328 },
              ],
              categoryName: '游戏设备',
              categoryId: 36,
            },
            {
              categoryChild: [
                { categoryName: '路由器', categoryId: 329 },
                { categoryName: '网卡', categoryId: 330 },
                { categoryName: '交换机', categoryId: 331 },
                { categoryName: '网络存储', categoryId: 332 },
                { categoryName: '4G/3G上网', categoryId: 333 },
                { categoryName: '网络盒子', categoryId: 334 },
                { categoryName: '网络配件', categoryId: 335 },
              ],
              categoryName: '网络产品',
              categoryId: 37,
            },
            {
              categoryChild: [
                { categoryName: '投影机', categoryId: 336 },
                { categoryName: '投影配件', categoryId: 337 },
                { categoryName: '多功能一体机', categoryId: 338 },
                { categoryName: '打印机', categoryId: 339 },
                { categoryName: '传真设备', categoryId: 340 },
                { categoryName: '验钞/点钞机', categoryId: 341 },
                { categoryName: '扫描设备', categoryId: 342 },
                { categoryName: '复合机', categoryId: 343 },
                { categoryName: '碎纸机', categoryId: 344 },
                { categoryName: '考勤机', categoryId: 345 },
                { categoryName: '收款/POS机', categoryId: 346 },
                { categoryName: '会议音频视频', categoryId: 347 },
                { categoryName: '保险柜', categoryId: 348 },
                { categoryName: '装订/封装机', categoryId: 349 },
                { categoryName: '安防监控', categoryId: 350 },
                { categoryName: '办公家具', categoryId: 351 },
                { categoryName: '白板', categoryId: 352 },
              ],
              categoryName: '办公设备',
              categoryId: 38,
            },
            {
              categoryChild: [
                { categoryName: '硒鼓/墨粉', categoryId: 353 },
                { categoryName: '墨盒', categoryId: 354 },
                { categoryName: '色带', categoryId: 355 },
                { categoryName: '纸类', categoryId: 356 },
                { categoryName: '办公文具', categoryId: 357 },
                { categoryName: '学生文具', categoryId: 358 },
                { categoryName: '财会用品', categoryId: 359 },
                { categoryName: '文件管理', categoryId: 360 },
                { categoryName: '本册/便签', categoryId: 361 },
                { categoryName: '计算器', categoryId: 362 },
                { categoryName: '笔类', categoryId: 363 },
                { categoryName: '画具画材', categoryId: 364 },
                { categoryName: '刻录碟片/附件', categoryId: 365 },
              ],
              categoryName: '文具/耗材',
              categoryId: 39,
            },
            {
              categoryChild: [
                { categoryName: '上门安装', categoryId: 366 },
                { categoryName: '延保服务', categoryId: 367 },
                { categoryName: '维修保养', categoryId: 368 },
                { categoryName: '电脑软件', categoryId: 369 },
                { categoryName: '京东服务', categoryId: 370 },
              ],
              categoryName: '服务产品',
              categoryId: 40,
            },
          ],
          categoryName: '电脑办公',
          categoryId: 6,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '炒锅', categoryId: 371 },
                { categoryName: '煎锅', categoryId: 372 },
                { categoryName: '压力锅', categoryId: 373 },
                { categoryName: '蒸锅', categoryId: 374 },
                { categoryName: '汤锅', categoryId: 375 },
                { categoryName: '奶锅', categoryId: 376 },
                { categoryName: '锅具套装', categoryId: 377 },
                { categoryName: '煲类', categoryId: 378 },
                { categoryName: '水壶', categoryId: 379 },
                { categoryName: '火锅', categoryId: 380 },
              ],
              categoryName: '烹饪锅具',
              categoryId: 41,
            },
            {
              categoryChild: [
                { categoryName: '菜刀', categoryId: 381 },
                { categoryName: '剪刀', categoryId: 382 },
                { categoryName: '刀具套装', categoryId: 383 },
                { categoryName: '砧板', categoryId: 384 },
                { categoryName: '瓜果刀/刨', categoryId: 385 },
                { categoryName: '多功能刀', categoryId: 386 },
              ],
              categoryName: '刀剪菜板',
              categoryId: 42,
            },
            {
              categoryChild: [
                { categoryName: '保鲜盒', categoryId: 387 },
                { categoryName: '烘焙/烧烤', categoryId: 388 },
                { categoryName: '饭盒/提锅', categoryId: 389 },
                { categoryName: '储物/置物架', categoryId: 390 },
                { categoryName: '厨房DIY/小工具', categoryId: 391 },
              ],
              categoryName: '厨房配件',
              categoryId: 43,
            },
            {
              categoryChild: [
                { categoryName: '塑料杯', categoryId: 392 },
                { categoryName: '运动水壶', categoryId: 393 },
                { categoryName: '玻璃杯', categoryId: 394 },
                { categoryName: '陶瓷/马克杯', categoryId: 395 },
                { categoryName: '保温杯', categoryId: 396 },
                { categoryName: '保温壶', categoryId: 397 },
                { categoryName: '酒杯/酒具', categoryId: 398 },
                { categoryName: '杯具套装', categoryId: 399 },
              ],
              categoryName: '水具酒具',
              categoryId: 44,
            },
            {
              categoryChild: [
                { categoryName: '餐具套装', categoryId: 400 },
                { categoryName: '碗/碟/盘', categoryId: 401 },
                { categoryName: '筷勺/刀叉', categoryId: 402 },
                { categoryName: '一次性用品', categoryId: 403 },
                { categoryName: '果盘/果篮', categoryId: 404 },
              ],
              categoryName: '餐具',
              categoryId: 45,
            },
            {
              categoryChild: [
                { categoryName: '自助餐炉', categoryId: 405 },
                { categoryName: '酒店餐具', categoryId: 406 },
                { categoryName: '酒店水具', categoryId: 407 },
              ],
              categoryName: '酒店用品',
              categoryId: 46,
            },
            {
              categoryChild: [
                { categoryName: '整套茶具', categoryId: 408 },
                { categoryName: '茶杯', categoryId: 409 },
                { categoryName: '茶壶', categoryId: 410 },
                { categoryName: '茶盘茶托', categoryId: 411 },
                { categoryName: '茶叶罐', categoryId: 412 },
                { categoryName: '茶具配件', categoryId: 413 },
                { categoryName: '茶宠摆件', categoryId: 414 },
                { categoryName: '咖啡具', categoryId: 415 },
                { categoryName: '其他', categoryId: 416 },
              ],
              categoryName: '茶具/咖啡具',
              categoryId: 47,
            },
          ],
          categoryName: '厨具',
          categoryId: 7,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '纸品湿巾', categoryId: 417 },
                { categoryName: '衣物清洁', categoryId: 418 },
                { categoryName: '清洁工具', categoryId: 419 },
                { categoryName: '驱虫用品', categoryId: 420 },
                { categoryName: '家庭清洁', categoryId: 421 },
                { categoryName: '皮具护理', categoryId: 422 },
                { categoryName: '一次性用品', categoryId: 423 },
              ],
              categoryName: '清洁用品',
              categoryId: 48,
            },
            {
              categoryChild: [
                { categoryName: '洁面', categoryId: 424 },
                { categoryName: '乳液面霜', categoryId: 425 },
                { categoryName: '面膜', categoryId: 426 },
                { categoryName: '剃须', categoryId: 427 },
                { categoryName: '套装', categoryId: 428 },
                { categoryName: '精华', categoryId: 429 },
                { categoryName: '眼霜', categoryId: 430 },
                { categoryName: '卸妆', categoryId: 431 },
                { categoryName: '防晒', categoryId: 432 },
                { categoryName: '防晒隔离', categoryId: 433 },
                { categoryName: 'T区护理', categoryId: 434 },
                { categoryName: '眼部护理', categoryId: 435 },
                { categoryName: '精华露', categoryId: 436 },
                { categoryName: '爽肤水', categoryId: 437 },
              ],
              categoryName: '面部护肤',
              categoryId: 49,
            },
            {
              categoryChild: [
                { categoryName: '沐浴', categoryId: 438 },
                { categoryName: '润肤', categoryId: 439 },
                { categoryName: '颈部', categoryId: 440 },
                { categoryName: '手足', categoryId: 441 },
                { categoryName: '纤体塑形', categoryId: 442 },
                { categoryName: '美胸', categoryId: 443 },
                { categoryName: '套装', categoryId: 444 },
                { categoryName: '精油', categoryId: 445 },
                { categoryName: '洗发护发', categoryId: 446 },
                { categoryName: '染发/造型', categoryId: 447 },
                { categoryName: '香薰精油', categoryId: 448 },
                { categoryName: '磨砂/浴盐', categoryId: 449 },
                { categoryName: '手工/香皂', categoryId: 450 },
                { categoryName: '洗发', categoryId: 451 },
                { categoryName: '护发', categoryId: 452 },
                { categoryName: '染发', categoryId: 453 },
                { categoryName: '磨砂膏', categoryId: 454 },
                { categoryName: '香皂', categoryId: 455 },
              ],
              categoryName: '身体护理',
              categoryId: 50,
            },
            {
              categoryChild: [
                { categoryName: '牙膏/牙粉', categoryId: 456 },
                { categoryName: '牙刷/牙线', categoryId: 457 },
                { categoryName: '漱口水', categoryId: 458 },
                { categoryName: '套装', categoryId: 459 },
              ],
              categoryName: '口腔护理',
              categoryId: 51,
            },
            {
              categoryChild: [
                { categoryName: '卫生巾', categoryId: 460 },
                { categoryName: '卫生护垫', categoryId: 461 },
                { categoryName: '私密护理', categoryId: 462 },
                { categoryName: '脱毛膏', categoryId: 463 },
                { categoryName: '其他', categoryId: 464 },
              ],
              categoryName: '女性护理',
              categoryId: 52,
            },
            {
              categoryChild: [
                { categoryName: '洗发', categoryId: 465 },
                { categoryName: '护发', categoryId: 466 },
                { categoryName: '染发', categoryId: 467 },
                { categoryName: '造型', categoryId: 468 },
                { categoryName: '假发', categoryId: 469 },
                { categoryName: '套装', categoryId: 470 },
                { categoryName: '美发工具', categoryId: 471 },
                { categoryName: '脸部护理', categoryId: 472 },
              ],
              categoryName: '洗发护发',
              categoryId: 53,
            },
            {
              categoryChild: [
                { categoryName: '香水', categoryId: 473 },
                { categoryName: '底妆', categoryId: 474 },
                { categoryName: '腮红', categoryId: 475 },
                { categoryName: '眼影', categoryId: 476 },
                { categoryName: '唇部', categoryId: 477 },
                { categoryName: '美甲', categoryId: 478 },
                { categoryName: '眼线', categoryId: 479 },
                { categoryName: '美妆工具', categoryId: 480 },
                { categoryName: '套装', categoryId: 481 },
                { categoryName: '防晒隔离', categoryId: 482 },
                { categoryName: '卸妆', categoryId: 483 },
                { categoryName: '眉笔', categoryId: 484 },
                { categoryName: '睫毛膏', categoryId: 485 },
              ],
              categoryName: '香水彩妆',
              categoryId: 54,
            },
          ],
          categoryName: '个护化妆',
          categoryId: 8,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: 'T恤', categoryId: 486 },
                { categoryName: '衬衫', categoryId: 487 },
                { categoryName: '针织衫', categoryId: 488 },
                { categoryName: '雪纺衫', categoryId: 489 },
                { categoryName: '卫衣', categoryId: 490 },
                { categoryName: '马甲', categoryId: 491 },
                { categoryName: '连衣裙', categoryId: 492 },
                { categoryName: '半身裙', categoryId: 493 },
                { categoryName: '牛仔裤', categoryId: 494 },
                { categoryName: '休闲裤', categoryId: 495 },
                { categoryName: '打底裤', categoryId: 496 },
                { categoryName: '正装裤', categoryId: 497 },
                { categoryName: '小西装', categoryId: 498 },
                { categoryName: '短外套', categoryId: 499 },
                { categoryName: '风衣', categoryId: 500 },
                { categoryName: '毛呢大衣', categoryId: 501 },
                { categoryName: '真皮皮衣', categoryId: 502 },
                { categoryName: '棉服', categoryId: 503 },
                { categoryName: '羽绒服', categoryId: 504 },
                { categoryName: '大码女装', categoryId: 505 },
                { categoryName: '中老年女装', categoryId: 506 },
                { categoryName: '婚纱', categoryId: 507 },
                { categoryName: '打底衫', categoryId: 508 },
                { categoryName: '旗袍/唐装', categoryId: 509 },
                { categoryName: '加绒裤', categoryId: 510 },
                { categoryName: '吊带/背心', categoryId: 511 },
                { categoryName: '羊绒衫', categoryId: 512 },
                { categoryName: '短裤', categoryId: 513 },
                { categoryName: '皮草', categoryId: 514 },
                { categoryName: '礼服', categoryId: 515 },
                { categoryName: '仿皮皮衣', categoryId: 516 },
                { categoryName: '羊毛衫', categoryId: 517 },
                { categoryName: '设计师/潮牌', categoryId: 518 },
              ],
              categoryName: '女装',
              categoryId: 55,
            },
            {
              categoryChild: [
                { categoryName: '衬衫', categoryId: 519 },
                { categoryName: 'T恤', categoryId: 520 },
                { categoryName: 'POLO衫', categoryId: 521 },
                { categoryName: '针织衫', categoryId: 522 },
                { categoryName: '羊绒衫', categoryId: 523 },
                { categoryName: '卫衣', categoryId: 524 },
                { categoryName: '马甲/背心', categoryId: 525 },
                { categoryName: '夹克', categoryId: 526 },
                { categoryName: '风衣', categoryId: 527 },
                { categoryName: '毛呢大衣', categoryId: 528 },
                { categoryName: '仿皮皮衣', categoryId: 529 },
                { categoryName: '西服', categoryId: 530 },
                { categoryName: '棉服', categoryId: 531 },
                { categoryName: '羽绒服', categoryId: 532 },
                { categoryName: '牛仔裤', categoryId: 533 },
                { categoryName: '休闲裤', categoryId: 534 },
                { categoryName: '西裤', categoryId: 535 },
                { categoryName: '西服套装', categoryId: 536 },
                { categoryName: '大码男装', categoryId: 537 },
                { categoryName: '中老年男装', categoryId: 538 },
                { categoryName: '唐装/中山装', categoryId: 539 },
                { categoryName: '工装', categoryId: 540 },
                { categoryName: '真皮皮衣', categoryId: 541 },
                { categoryName: '加绒裤', categoryId: 542 },
                { categoryName: '卫裤/运动裤', categoryId: 543 },
                { categoryName: '短裤', categoryId: 544 },
                { categoryName: '设计师/潮牌', categoryId: 545 },
                { categoryName: '羊毛衫', categoryId: 546 },
              ],
              categoryName: '男装',
              categoryId: 56,
            },
            {
              categoryChild: [
                { categoryName: '文胸', categoryId: 547 },
                { categoryName: '女式内裤', categoryId: 548 },
                { categoryName: '男式内裤', categoryId: 549 },
                { categoryName: '睡衣/家居服', categoryId: 550 },
                { categoryName: '塑身美体', categoryId: 551 },
                { categoryName: '泳衣', categoryId: 552 },
                { categoryName: '吊带/背心', categoryId: 553 },
                { categoryName: '抹胸', categoryId: 554 },
                { categoryName: '连裤袜/丝袜', categoryId: 555 },
                { categoryName: '美腿袜', categoryId: 556 },
                { categoryName: '商务男袜', categoryId: 557 },
                { categoryName: '保暖内衣', categoryId: 558 },
                { categoryName: '情侣睡衣', categoryId: 559 },
                { categoryName: '文胸套装', categoryId: 560 },
                { categoryName: '少女文胸', categoryId: 561 },
                { categoryName: '休闲棉袜', categoryId: 562 },
                { categoryName: '大码内衣', categoryId: 563 },
                { categoryName: '内衣配件', categoryId: 564 },
                { categoryName: '打底裤袜', categoryId: 565 },
                { categoryName: '打底衫', categoryId: 566 },
                { categoryName: '秋衣秋裤', categoryId: 567 },
                { categoryName: '情趣内衣', categoryId: 568 },
              ],
              categoryName: '内衣',
              categoryId: 57,
            },
            {
              categoryChild: [{ categoryName: '服装洗护', categoryId: 569 }],
              categoryName: '洗衣服务',
              categoryId: 58,
            },
            {
              categoryChild: [
                { categoryName: '太阳镜', categoryId: 570 },
                { categoryName: '光学镜架/镜片', categoryId: 571 },
                { categoryName: '围巾/手套/帽子套装', categoryId: 572 },
                { categoryName: '袖扣', categoryId: 573 },
                { categoryName: '棒球帽', categoryId: 574 },
                { categoryName: '毛线帽', categoryId: 575 },
                { categoryName: '遮阳帽', categoryId: 576 },
                { categoryName: '老花镜', categoryId: 577 },
                { categoryName: '装饰眼镜', categoryId: 578 },
                { categoryName: '防辐射眼镜', categoryId: 579 },
                { categoryName: '游泳镜', categoryId: 580 },
                { categoryName: '女士丝巾/围巾/披肩', categoryId: 581 },
                { categoryName: '男士丝巾/围巾', categoryId: 582 },
                { categoryName: '鸭舌帽', categoryId: 583 },
                { categoryName: '贝雷帽', categoryId: 584 },
                { categoryName: '礼帽', categoryId: 585 },
                { categoryName: '真皮手套', categoryId: 586 },
                { categoryName: '毛线手套', categoryId: 587 },
                { categoryName: '防晒手套', categoryId: 588 },
                { categoryName: '男士腰带/礼盒', categoryId: 589 },
                { categoryName: '女士腰带/礼盒', categoryId: 590 },
                { categoryName: '钥匙扣', categoryId: 591 },
                { categoryName: '遮阳伞/雨伞', categoryId: 592 },
                { categoryName: '口罩', categoryId: 593 },
                { categoryName: '耳罩/耳包', categoryId: 594 },
                { categoryName: '假领', categoryId: 595 },
                { categoryName: '毛线/布面料', categoryId: 596 },
                { categoryName: '领带/领结/领带夹', categoryId: 597 },
              ],
              categoryName: '服饰配件',
              categoryId: 59,
            },
          ],
          categoryName: '服饰内衣',
          categoryId: 9,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '男表', categoryId: 598 },
                { categoryName: '瑞表', categoryId: 599 },
                { categoryName: '女表', categoryId: 600 },
                { categoryName: '国表', categoryId: 601 },
                { categoryName: '日韩表', categoryId: 602 },
                { categoryName: '欧美表', categoryId: 603 },
                { categoryName: '德表', categoryId: 604 },
                { categoryName: '儿童手表', categoryId: 605 },
                { categoryName: '智能手表', categoryId: 606 },
                { categoryName: '闹钟', categoryId: 607 },
                { categoryName: '座钟挂钟', categoryId: 608 },
                { categoryName: '钟表配件', categoryId: 609 },
              ],
              categoryName: '钟表',
              categoryId: 60,
            },
          ],
          categoryName: '钟表',
          categoryId: 10,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '商务休闲鞋', categoryId: 610 },
                { categoryName: '正装鞋', categoryId: 611 },
                { categoryName: '休闲鞋', categoryId: 612 },
                { categoryName: '凉鞋/沙滩鞋', categoryId: 613 },
                { categoryName: '男靴', categoryId: 614 },
                { categoryName: '功能鞋', categoryId: 615 },
                { categoryName: '拖鞋/人字拖', categoryId: 616 },
                { categoryName: '雨鞋/雨靴', categoryId: 617 },
                { categoryName: '传统布鞋', categoryId: 618 },
                { categoryName: '鞋配件', categoryId: 619 },
                { categoryName: '帆布鞋', categoryId: 620 },
                { categoryName: '增高鞋', categoryId: 621 },
                { categoryName: '工装鞋', categoryId: 622 },
                { categoryName: '定制鞋', categoryId: 623 },
              ],
              categoryName: '流行男鞋',
              categoryId: 61,
            },
            {
              categoryChild: [
                { categoryName: '高跟鞋', categoryId: 624 },
                { categoryName: '单鞋', categoryId: 625 },
                { categoryName: '休闲鞋', categoryId: 626 },
                { categoryName: '凉鞋', categoryId: 627 },
                { categoryName: '女靴', categoryId: 628 },
                { categoryName: '雪地靴', categoryId: 629 },
                { categoryName: '拖鞋/人字拖', categoryId: 630 },
                { categoryName: '踝靴', categoryId: 631 },
                { categoryName: '筒靴', categoryId: 632 },
                { categoryName: '帆布鞋', categoryId: 633 },
                { categoryName: '雨鞋/雨靴', categoryId: 634 },
                { categoryName: '妈妈鞋', categoryId: 635 },
                { categoryName: '鞋配件', categoryId: 636 },
                { categoryName: '特色鞋', categoryId: 637 },
                { categoryName: '鱼嘴鞋', categoryId: 638 },
                { categoryName: '布鞋/绣花鞋', categoryId: 639 },
                { categoryName: '马丁靴', categoryId: 640 },
                { categoryName: '坡跟鞋', categoryId: 641 },
                { categoryName: '松糕鞋', categoryId: 642 },
                { categoryName: '内增高', categoryId: 643 },
                { categoryName: '防水台', categoryId: 644 },
              ],
              categoryName: '时尚女鞋',
              categoryId: 62,
            },
          ],
          categoryName: '鞋靴',
          categoryId: 11,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '益生菌/初乳', categoryId: 647 },
                { categoryName: '米粉/菜粉', categoryId: 648 },
                { categoryName: '果泥/果汁', categoryId: 649 },
                { categoryName: 'DHA', categoryId: 650 },
                { categoryName: '宝宝零食', categoryId: 651 },
                { categoryName: '钙铁锌/维生素', categoryId: 652 },
                { categoryName: '清火/开胃', categoryId: 653 },
                { categoryName: '面条/粥', categoryId: 654 },
              ],
              categoryName: '营养辅食',
              categoryId: 64,
            },
            {
              categoryChild: [
                { categoryName: '婴儿尿裤', categoryId: 655 },
                { categoryName: '拉拉裤', categoryId: 656 },
                { categoryName: '婴儿湿巾', categoryId: 657 },
                { categoryName: '成人尿裤', categoryId: 658 },
                { categoryName: '王东纸尿裤', categoryId: 1102 },
              ],
              categoryName: '尿裤湿巾',
              categoryId: 65,
            },
            {
              categoryChild: [
                { categoryName: '奶瓶奶嘴', categoryId: 659 },
                { categoryName: '吸奶器', categoryId: 660 },
                { categoryName: '暖奶消毒', categoryId: 661 },
                { categoryName: '儿童餐具', categoryId: 662 },
                { categoryName: '水壶/水杯', categoryId: 663 },
                { categoryName: '牙胶安抚', categoryId: 664 },
                { categoryName: '围兜/防溅衣', categoryId: 665 },
                { categoryName: '辅食料理机', categoryId: 666 },
                { categoryName: '食物存储', categoryId: 667 },
              ],
              categoryName: '喂养用品',
              categoryId: 66,
            },
            {
              categoryChild: [
                { categoryName: '宝宝护肤', categoryId: 668 },
                { categoryName: '洗发沐浴', categoryId: 669 },
                { categoryName: '奶瓶清洗', categoryId: 670 },
                { categoryName: '驱蚊防晒', categoryId: 671 },
                { categoryName: '理发器', categoryId: 672 },
                { categoryName: '洗澡用具', categoryId: 673 },
                { categoryName: '婴儿口腔清洁', categoryId: 674 },
                { categoryName: '洗衣液/皂', categoryId: 675 },
                { categoryName: '日常护理', categoryId: 676 },
                { categoryName: '座便器', categoryId: 677 },
              ],
              categoryName: '洗护用品',
              categoryId: 67,
            },
            {
              categoryChild: [
                { categoryName: '婴儿推车', categoryId: 678 },
                { categoryName: '餐椅摇椅', categoryId: 679 },
                { categoryName: '婴儿床', categoryId: 680 },
                { categoryName: '学步车', categoryId: 681 },
                { categoryName: '三轮车', categoryId: 682 },
                { categoryName: '自行车', categoryId: 683 },
                { categoryName: '电动车', categoryId: 684 },
                { categoryName: '扭扭车', categoryId: 685 },
                { categoryName: '滑板车', categoryId: 686 },
                { categoryName: '婴儿床垫', categoryId: 687 },
              ],
              categoryName: '童车童床',
              categoryId: 68,
            },
            {
              categoryChild: [
                { categoryName: '婴儿外出服', categoryId: 688 },
                { categoryName: '婴儿内衣', categoryId: 689 },
                { categoryName: '婴儿礼盒', categoryId: 690 },
                { categoryName: '婴儿鞋帽袜', categoryId: 691 },
                { categoryName: '安全防护', categoryId: 692 },
                { categoryName: '家居床品', categoryId: 693 },
                { categoryName: '睡袋/抱被', categoryId: 694 },
                { categoryName: '爬行垫', categoryId: 695 },
              ],
              categoryName: '寝居服饰',
              categoryId: 69,
            },
            {
              categoryChild: [
                { categoryName: '妈咪包/背婴带', categoryId: 696 },
                { categoryName: '产后塑身', categoryId: 697 },
                { categoryName: '文胸/内裤', categoryId: 698 },
                { categoryName: '防辐射服', categoryId: 699 },
                { categoryName: '孕妈装', categoryId: 700 },
                { categoryName: '孕期营养', categoryId: 701 },
                { categoryName: '孕妇护肤', categoryId: 702 },
                { categoryName: '待产护理', categoryId: 703 },
                { categoryName: '月子装', categoryId: 704 },
                { categoryName: '防溢乳垫', categoryId: 705 },
              ],
              categoryName: '妈妈专区',
              categoryId: 70,
            },
            {
              categoryChild: [
                { categoryName: '套装', categoryId: 706 },
                { categoryName: '上衣', categoryId: 707 },
                { categoryName: '裤子', categoryId: 708 },
                { categoryName: '裙子', categoryId: 709 },
                { categoryName: '内衣/家居服', categoryId: 710 },
                { categoryName: '羽绒服/棉服', categoryId: 711 },
                { categoryName: '亲子装', categoryId: 712 },
                { categoryName: '儿童配饰', categoryId: 713 },
                { categoryName: '礼服/演出服', categoryId: 714 },
                { categoryName: '运动鞋', categoryId: 715 },
                { categoryName: '皮鞋/帆布鞋', categoryId: 716 },
                { categoryName: '靴子', categoryId: 717 },
                { categoryName: '凉鞋', categoryId: 718 },
                { categoryName: '功能鞋', categoryId: 719 },
                { categoryName: '户外/运动服', categoryId: 720 },
              ],
              categoryName: '童装童鞋',
              categoryId: 71,
            },
            {
              categoryChild: [
                { categoryName: '提篮式', categoryId: 721 },
                { categoryName: '安全座椅', categoryId: 722 },
                { categoryName: '增高垫', categoryId: 723 },
              ],
              categoryName: '安全座椅',
              categoryId: 72,
            },
            {
              categoryChild: [
                { categoryName: '婴幼奶粉', categoryId: 645 },
                { categoryName: '孕妈奶粉', categoryId: 646 },
              ],
              categoryName: '奶粉',
              categoryId: 63,
            },
          ],
          categoryName: '母婴',
          categoryId: 12,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '钱包', categoryId: 724 },
                { categoryName: '手拿包', categoryId: 725 },
                { categoryName: '单肩包', categoryId: 726 },
                { categoryName: '双肩包', categoryId: 727 },
                { categoryName: '手提包', categoryId: 728 },
                { categoryName: '斜挎包', categoryId: 729 },
                { categoryName: '钥匙包', categoryId: 730 },
                { categoryName: '卡包/零钱包', categoryId: 731 },
              ],
              categoryName: '潮流女包',
              categoryId: 73,
            },
            {
              categoryChild: [
                { categoryName: '男士钱包', categoryId: 732 },
                { categoryName: '男士手包', categoryId: 733 },
                { categoryName: '卡包名片夹', categoryId: 734 },
                { categoryName: '商务公文包', categoryId: 735 },
                { categoryName: '双肩包', categoryId: 736 },
                { categoryName: '单肩/斜挎包', categoryId: 737 },
                { categoryName: '钥匙包', categoryId: 738 },
              ],
              categoryName: '精品男包',
              categoryId: 74,
            },
            {
              categoryChild: [
                { categoryName: '电脑包', categoryId: 739 },
                { categoryName: '拉杆箱', categoryId: 740 },
                { categoryName: '旅行包', categoryId: 741 },
                { categoryName: '旅行配件', categoryId: 742 },
                { categoryName: '休闲运动包', categoryId: 743 },
                { categoryName: '拉杆包', categoryId: 744 },
                { categoryName: '登山包', categoryId: 745 },
                { categoryName: '妈咪包', categoryId: 746 },
                { categoryName: '书包', categoryId: 747 },
                { categoryName: '相机包', categoryId: 748 },
                { categoryName: '腰包/胸包', categoryId: 749 },
              ],
              categoryName: '功能箱包',
              categoryId: 75,
            },
            {
              categoryChild: [
                { categoryName: '火机烟具', categoryId: 750 },
                { categoryName: '礼品文具', categoryId: 751 },
                { categoryName: '军刀军具', categoryId: 752 },
                { categoryName: '收藏品', categoryId: 753 },
                { categoryName: '工艺礼品', categoryId: 754 },
                { categoryName: '创意礼品', categoryId: 755 },
                { categoryName: '礼盒礼券', categoryId: 756 },
                { categoryName: '鲜花绿植', categoryId: 757 },
                { categoryName: '婚庆节庆', categoryId: 758 },
                { categoryName: '京东卡', categoryId: 759 },
                { categoryName: '美妆礼品', categoryId: 760 },
                { categoryName: '礼品定制', categoryId: 761 },
                { categoryName: '京东福卡', categoryId: 762 },
                { categoryName: '古董文玩', categoryId: 763 },
              ],
              categoryName: '礼品',
              categoryId: 76,
            },
            {
              categoryChild: [
                { categoryName: '箱包', categoryId: 764 },
                { categoryName: '钱包', categoryId: 765 },
                { categoryName: '服饰', categoryId: 766 },
                { categoryName: '腰带', categoryId: 767 },
                { categoryName: '太阳镜/眼镜框', categoryId: 768 },
                { categoryName: '配件', categoryId: 769 },
                { categoryName: '鞋靴', categoryId: 770 },
                { categoryName: '饰品', categoryId: 771 },
                { categoryName: '名品腕表', categoryId: 772 },
                { categoryName: '高档化妆品', categoryId: 773 },
              ],
              categoryName: '奢侈品',
              categoryId: 77,
            },
            {
              categoryChild: [
                { categoryName: '婚嫁首饰', categoryId: 774 },
                { categoryName: '婚纱摄影', categoryId: 775 },
                { categoryName: '婚纱礼服', categoryId: 776 },
                { categoryName: '婚庆服务', categoryId: 777 },
                { categoryName: '婚庆礼品/用品', categoryId: 778 },
                { categoryName: '婚宴', categoryId: 779 },
              ],
              categoryName: '婚庆',
              categoryId: 78,
            },
          ],
          categoryName: '礼品箱包',
          categoryId: 13,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '其他特产', categoryId: 786 },
                { categoryName: '新疆', categoryId: 787 },
                { categoryName: '北京', categoryId: 788 },
                { categoryName: '山西', categoryId: 789 },
                { categoryName: '内蒙古', categoryId: 790 },
                { categoryName: '福建', categoryId: 791 },
                { categoryName: '湖南', categoryId: 792 },
                { categoryName: '四川', categoryId: 793 },
                { categoryName: '云南', categoryId: 794 },
                { categoryName: '东北', categoryId: 795 },
              ],
              categoryName: '地方特产',
              categoryId: 80,
            },
            {
              categoryChild: [
                { categoryName: '休闲零食', categoryId: 796 },
                { categoryName: '坚果炒货', categoryId: 797 },
                { categoryName: '肉干肉脯', categoryId: 798 },
                { categoryName: '蜜饯果干', categoryId: 799 },
                { categoryName: '糖果/巧克力', categoryId: 800 },
                { categoryName: '饼干蛋糕', categoryId: 801 },
                { categoryName: '无糖食品', categoryId: 802 },
              ],
              categoryName: '休闲食品',
              categoryId: 81,
            },
            {
              categoryChild: [
                { categoryName: '米面杂粮', categoryId: 803 },
                { categoryName: '食用油', categoryId: 804 },
                { categoryName: '调味品', categoryId: 805 },
                { categoryName: '南北干货', categoryId: 806 },
                { categoryName: '方便食品', categoryId: 807 },
                { categoryName: '有机食品', categoryId: 808 },
              ],
              categoryName: '粮油调味',
              categoryId: 82,
            },
            {
              categoryChild: [
                { categoryName: '饮用水', categoryId: 809 },
                { categoryName: '饮料', categoryId: 810 },
                { categoryName: '牛奶乳品', categoryId: 811 },
                { categoryName: '咖啡/奶茶', categoryId: 812 },
                { categoryName: '冲饮谷物', categoryId: 813 },
                { categoryName: '蜂蜜/柚子茶', categoryId: 814 },
                { categoryName: '成人奶粉', categoryId: 815 },
              ],
              categoryName: '饮料冲调',
              categoryId: 83,
            },
            {
              categoryChild: [
                { categoryName: '月饼', categoryId: 816 },
                { categoryName: '大闸蟹', categoryId: 817 },
                { categoryName: '粽子', categoryId: 818 },
                { categoryName: '卡券', categoryId: 819 },
              ],
              categoryName: '食品礼券',
              categoryId: 84,
            },
            {
              categoryChild: [
                { categoryName: '铁观音', categoryId: 820 },
                { categoryName: '普洱', categoryId: 821 },
                { categoryName: '龙井', categoryId: 822 },
                { categoryName: '绿茶', categoryId: 823 },
                { categoryName: '红茶', categoryId: 824 },
                { categoryName: '乌龙茶', categoryId: 825 },
                { categoryName: '花草茶', categoryId: 826 },
                { categoryName: '花果茶', categoryId: 827 },
                { categoryName: '养生茶', categoryId: 828 },
                { categoryName: '黑茶', categoryId: 829 },
                { categoryName: '白茶', categoryId: 830 },
                { categoryName: '其它茶', categoryId: 831 },
              ],
              categoryName: '茗茶',
              categoryId: 85,
            },
            {
              categoryChild: [
                { categoryName: '饼干蛋糕', categoryId: 780 },
                { categoryName: '糖果/巧克力', categoryId: 781 },
                { categoryName: '休闲零食', categoryId: 782 },
                { categoryName: '冲调饮品', categoryId: 783 },
                { categoryName: '粮油调味', categoryId: 784 },
                { categoryName: '牛奶', categoryId: 785 },
              ],
              categoryName: '进口食品',
              categoryId: 79,
            },
          ],
          categoryName: '食品饮料、保健食品',
          categoryId: 14,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '小叶紫檀', categoryId: 894 },
                { categoryName: '黄花梨', categoryId: 895 },
                { categoryName: '沉香木', categoryId: 896 },
                { categoryName: '金丝楠', categoryId: 897 },
                { categoryName: '菩提', categoryId: 898 },
                { categoryName: '其他', categoryId: 899 },
                { categoryName: '橄榄核/核桃', categoryId: 900 },
                { categoryName: '檀香', categoryId: 901 },
              ],
              categoryName: '木手串/把件',
              categoryId: 96,
            },
            {
              categoryChild: [
                { categoryName: '珍珠项链', categoryId: 902 },
                { categoryName: '珍珠吊坠', categoryId: 903 },
                { categoryName: '珍珠耳饰', categoryId: 904 },
                { categoryName: '珍珠手链', categoryId: 905 },
                { categoryName: '珍珠戒指', categoryId: 906 },
                { categoryName: '珍珠胸针', categoryId: 907 },
              ],
              categoryName: '珍珠',
              categoryId: 97,
            },
            {
              categoryChild: [
                { categoryName: '项链', categoryId: 832 },
                { categoryName: '手链/脚链', categoryId: 833 },
                { categoryName: '戒指', categoryId: 834 },
                { categoryName: '耳饰', categoryId: 835 },
                { categoryName: '毛衣链', categoryId: 836 },
                { categoryName: '发饰/发卡', categoryId: 837 },
                { categoryName: '胸针', categoryId: 838 },
                { categoryName: '饰品配件', categoryId: 839 },
                { categoryName: '婚庆饰品', categoryId: 840 },
              ],
              categoryName: '时尚饰品',
              categoryId: 86,
            },
            {
              categoryChild: [
                { categoryName: '黄金吊坠', categoryId: 841 },
                { categoryName: '黄金项链', categoryId: 842 },
                { categoryName: '黄金转运珠', categoryId: 843 },
                { categoryName: '黄金手镯/手链/脚链', categoryId: 844 },
                { categoryName: '黄金耳饰', categoryId: 845 },
                { categoryName: '黄金戒指', categoryId: 846 },
              ],
              categoryName: '黄金',
              categoryId: 87,
            },
            {
              categoryChild: [
                { categoryName: 'K金吊坠', categoryId: 847 },
                { categoryName: 'K金项链', categoryId: 848 },
                { categoryName: 'K金手镯/手链/脚链', categoryId: 849 },
                { categoryName: 'K金戒指', categoryId: 850 },
                { categoryName: 'K金耳饰', categoryId: 851 },
              ],
              categoryName: 'K金饰品',
              categoryId: 88,
            },
            {
              categoryChild: [
                { categoryName: '投资金', categoryId: 852 },
                { categoryName: '投资银', categoryId: 853 },
                { categoryName: '投资收藏', categoryId: 854 },
              ],
              categoryName: '金银投资',
              categoryId: 89,
            },
            {
              categoryChild: [
                { categoryName: '银吊坠/项链', categoryId: 855 },
                { categoryName: '银手镯/手链/脚链', categoryId: 856 },
                { categoryName: '银戒指', categoryId: 857 },
                { categoryName: '银耳饰', categoryId: 858 },
                { categoryName: '足银手镯', categoryId: 859 },
                { categoryName: '宝宝银饰', categoryId: 860 },
              ],
              categoryName: '银饰',
              categoryId: 90,
            },
            {
              categoryChild: [
                { categoryName: '裸钻', categoryId: 861 },
                { categoryName: '钻戒', categoryId: 862 },
                { categoryName: '钻石项链/吊坠', categoryId: 863 },
                { categoryName: '钻石耳饰', categoryId: 864 },
                { categoryName: '钻石手镯/手链', categoryId: 865 },
              ],
              categoryName: '钻石',
              categoryId: 91,
            },
            {
              categoryChild: [
                { categoryName: '项链/吊坠', categoryId: 866 },
                { categoryName: '手镯/手串', categoryId: 867 },
                { categoryName: '戒指', categoryId: 868 },
                { categoryName: '耳饰', categoryId: 869 },
                { categoryName: '挂件/摆件/把件', categoryId: 870 },
                { categoryName: '玉石孤品', categoryId: 871 },
              ],
              categoryName: '翡翠玉石',
              categoryId: 92,
            },
            {
              categoryChild: [
                { categoryName: '项链/吊坠', categoryId: 872 },
                { categoryName: '耳饰', categoryId: 873 },
                { categoryName: '手镯/手链/脚链', categoryId: 874 },
                { categoryName: '戒指', categoryId: 875 },
                { categoryName: '头饰/胸针', categoryId: 876 },
                { categoryName: '摆件/挂件', categoryId: 877 },
              ],
              categoryName: '水晶玛瑙',
              categoryId: 93,
            },
            {
              categoryChild: [
                { categoryName: '琥珀/蜜蜡', categoryId: 878 },
                { categoryName: '碧玺', categoryId: 879 },
                { categoryName: '红宝石/蓝宝石', categoryId: 880 },
                { categoryName: '坦桑石', categoryId: 881 },
                { categoryName: '珊瑚', categoryId: 882 },
                { categoryName: '祖母绿', categoryId: 883 },
                { categoryName: '葡萄石', categoryId: 884 },
                { categoryName: '其他天然宝石', categoryId: 885 },
                { categoryName: '项链/吊坠', categoryId: 886 },
                { categoryName: '耳饰', categoryId: 887 },
                { categoryName: '手镯/手链', categoryId: 888 },
                { categoryName: '戒指', categoryId: 889 },
              ],
              categoryName: '彩宝',
              categoryId: 94,
            },
            {
              categoryChild: [
                { categoryName: '铂金项链/吊坠', categoryId: 890 },
                { categoryName: '铂金手镯/手链/脚链', categoryId: 891 },
                { categoryName: '铂金戒指', categoryId: 892 },
                { categoryName: '铂金耳饰', categoryId: 893 },
              ],
              categoryName: '铂金',
              categoryId: 95,
            },
          ],
          categoryName: '珠宝',
          categoryId: 15,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '机油', categoryId: 908 },
                { categoryName: '正时皮带', categoryId: 909 },
                { categoryName: '添加剂', categoryId: 910 },
                { categoryName: '汽车喇叭', categoryId: 911 },
                { categoryName: '防冻液', categoryId: 912 },
                { categoryName: '汽车玻璃', categoryId: 913 },
                { categoryName: '滤清器', categoryId: 914 },
                { categoryName: '火花塞', categoryId: 915 },
                { categoryName: '减震器', categoryId: 916 },
                { categoryName: '柴机油/辅助油', categoryId: 917 },
                { categoryName: '雨刷', categoryId: 918 },
                { categoryName: '车灯', categoryId: 919 },
                { categoryName: '后视镜', categoryId: 920 },
                { categoryName: '轮胎', categoryId: 921 },
                { categoryName: '轮毂', categoryId: 922 },
                { categoryName: '刹车片/盘', categoryId: 923 },
                { categoryName: '维修配件', categoryId: 924 },
                { categoryName: '蓄电池', categoryId: 925 },
                { categoryName: '底盘装甲/护板', categoryId: 926 },
                { categoryName: '贴膜', categoryId: 927 },
                { categoryName: '汽修工具', categoryId: 928 },
                { categoryName: '改装配件', categoryId: 929 },
              ],
              categoryName: '维修保养',
              categoryId: 98,
            },
            {
              categoryChild: [
                { categoryName: '导航仪', categoryId: 930 },
                { categoryName: '安全预警仪', categoryId: 931 },
                { categoryName: '行车记录仪', categoryId: 932 },
                { categoryName: '倒车雷达', categoryId: 933 },
                { categoryName: '蓝牙设备', categoryId: 934 },
                { categoryName: '车载影音', categoryId: 935 },
                { categoryName: '净化器', categoryId: 936 },
                { categoryName: '电源', categoryId: 937 },
                { categoryName: '智能驾驶', categoryId: 938 },
                { categoryName: '车载电台', categoryId: 939 },
                { categoryName: '车载电器配件', categoryId: 940 },
                { categoryName: '吸尘器', categoryId: 941 },
                { categoryName: '智能车机', categoryId: 942 },
                { categoryName: '冰箱', categoryId: 943 },
                { categoryName: '汽车音响', categoryId: 944 },
                { categoryName: '车载生活电器', categoryId: 945 },
              ],
              categoryName: '车载电器',
              categoryId: 99,
            },
            {
              categoryChild: [
                { categoryName: '车蜡', categoryId: 946 },
                { categoryName: '补漆笔', categoryId: 947 },
                { categoryName: '玻璃水', categoryId: 948 },
                { categoryName: '清洁剂', categoryId: 949 },
                { categoryName: '洗车工具', categoryId: 950 },
                { categoryName: '镀晶镀膜', categoryId: 951 },
                { categoryName: '打蜡机', categoryId: 952 },
                { categoryName: '洗车配件', categoryId: 953 },
                { categoryName: '洗车机', categoryId: 954 },
                { categoryName: '洗车水枪', categoryId: 955 },
                { categoryName: '毛巾掸子', categoryId: 956 },
              ],
              categoryName: '美容清洗',
              categoryId: 100,
            },
            {
              categoryChild: [
                { categoryName: '脚垫', categoryId: 957 },
                { categoryName: '座垫', categoryId: 958 },
                { categoryName: '座套', categoryId: 959 },
                { categoryName: '后备箱垫', categoryId: 960 },
                { categoryName: '头枕腰靠', categoryId: 961 },
                { categoryName: '方向盘套', categoryId: 962 },
                { categoryName: '香水', categoryId: 963 },
                { categoryName: '空气净化', categoryId: 964 },
                { categoryName: '挂件摆件', categoryId: 965 },
                { categoryName: '功能小件', categoryId: 966 },
                { categoryName: '车身装饰件', categoryId: 967 },
                { categoryName: '车衣', categoryId: 968 },
              ],
              categoryName: '汽车装饰',
              categoryId: 101,
            },
            {
              categoryChild: [
                { categoryName: '安全座椅', categoryId: 969 },
                { categoryName: '胎压监测', categoryId: 970 },
                { categoryName: '防盗设备', categoryId: 971 },
                { categoryName: '应急救援', categoryId: 972 },
                { categoryName: '保温箱', categoryId: 973 },
                { categoryName: '地锁', categoryId: 974 },
                { categoryName: '摩托车', categoryId: 975 },
                { categoryName: '充气泵', categoryId: 976 },
                { categoryName: '储物箱', categoryId: 977 },
                { categoryName: '自驾野营', categoryId: 978 },
                { categoryName: '摩托车装备', categoryId: 979 },
              ],
              categoryName: '安全自驾',
              categoryId: 102,
            },
            {
              categoryChild: [
                { categoryName: '清洗美容', categoryId: 980 },
                { categoryName: '功能升级', categoryId: 981 },
                { categoryName: '保养维修', categoryId: 982 },
                { categoryName: '油卡充值', categoryId: 983 },
                { categoryName: '车险', categoryId: 984 },
                { categoryName: '加油卡', categoryId: 985 },
                { categoryName: 'ETC', categoryId: 986 },
                { categoryName: '驾驶培训', categoryId: 987 },
              ],
              categoryName: '汽车服务',
              categoryId: 103,
            },
            {
              categoryChild: [
                { categoryName: '赛事服装', categoryId: 988 },
                { categoryName: '赛事用品', categoryId: 989 },
                { categoryName: '制动系统', categoryId: 990 },
                { categoryName: '悬挂系统', categoryId: 991 },
                { categoryName: '进气系统', categoryId: 992 },
                { categoryName: '排气系统', categoryId: 993 },
                { categoryName: '电子管理', categoryId: 994 },
                { categoryName: '车身强化', categoryId: 995 },
                { categoryName: '赛事座椅', categoryId: 996 },
              ],
              categoryName: '赛事改装',
              categoryId: 104,
            },
          ],
          categoryName: '汽车用品',
          categoryId: 16,
        },
        {
          categoryChild: [
            {
              categoryChild: [
                { categoryName: '综合训练器', categoryId: 1077 },
                { categoryName: '其他大型器械', categoryId: 1078 },
                { categoryName: '哑铃', categoryId: 1079 },
                { categoryName: '仰卧板/收腹机', categoryId: 1080 },
                { categoryName: '其他中小型器材', categoryId: 1081 },
                { categoryName: '瑜伽舞蹈', categoryId: 1082 },
                { categoryName: '甩脂机', categoryId: 1083 },
                { categoryName: '踏步机', categoryId: 1084 },
                { categoryName: '武术搏击', categoryId: 1085 },
                { categoryName: '健身车/动感单车', categoryId: 1086 },
                { categoryName: '跑步机', categoryId: 1087 },
                { categoryName: '运动护具', categoryId: 1088 },
              ],
              categoryName: '健身训练',
              categoryId: 112,
            },
            {
              categoryChild: [
                { categoryName: '羽毛球', categoryId: 1089 },
                { categoryName: '乒乓球', categoryId: 1090 },
                { categoryName: '篮球', categoryId: 1091 },
                { categoryName: '足球', categoryId: 1092 },
                { categoryName: '网球', categoryId: 1093 },
                { categoryName: '排球', categoryId: 1094 },
                { categoryName: '高尔夫', categoryId: 1095 },
                { categoryName: '台球', categoryId: 1096 },
                { categoryName: '棋牌麻将', categoryId: 1097 },
                { categoryName: '轮滑滑板', categoryId: 1098 },
                { categoryName: '其他', categoryId: 1099 },
              ],
              categoryName: '体育用品',
              categoryId: 113,
            },
            {
              categoryChild: [
                { categoryName: '跑步鞋', categoryId: 997 },
                { categoryName: '休闲鞋', categoryId: 998 },
                { categoryName: '篮球鞋', categoryId: 999 },
                { categoryName: '板鞋', categoryId: 1000 },
                { categoryName: '帆布鞋', categoryId: 1001 },
                { categoryName: '足球鞋', categoryId: 1002 },
                { categoryName: '乒羽网鞋', categoryId: 1003 },
                { categoryName: '专项运动鞋', categoryId: 1004 },
                { categoryName: '训练鞋', categoryId: 1005 },
                { categoryName: '拖鞋', categoryId: 1006 },
                { categoryName: '运动包', categoryId: 1007 },
              ],
              categoryName: '运动鞋包',
              categoryId: 105,
            },
            {
              categoryChild: [
                { categoryName: '羽绒服', categoryId: 1008 },
                { categoryName: '棉服', categoryId: 1009 },
                { categoryName: '运动裤', categoryId: 1010 },
                { categoryName: '夹克/风衣', categoryId: 1011 },
                { categoryName: '卫衣/套头衫', categoryId: 1012 },
                { categoryName: 'T恤', categoryId: 1013 },
                { categoryName: '套装', categoryId: 1014 },
                { categoryName: '乒羽网服', categoryId: 1015 },
                { categoryName: '健身服', categoryId: 1016 },
                { categoryName: '运动背心', categoryId: 1017 },
                { categoryName: '毛衫/线衫', categoryId: 1018 },
                { categoryName: '运动配饰', categoryId: 1019 },
              ],
              categoryName: '运动服饰',
              categoryId: 106,
            },
            {
              categoryChild: [
                { categoryName: '折叠车', categoryId: 1020 },
                { categoryName: '山地车/公路车', categoryId: 1021 },
                { categoryName: '电动车', categoryId: 1022 },
                { categoryName: '其他整车', categoryId: 1023 },
                { categoryName: '骑行服', categoryId: 1024 },
                { categoryName: '骑行装备', categoryId: 1025 },
                { categoryName: '平衡车', categoryId: 1026 },
              ],
              categoryName: '骑行运动',
              categoryId: 107,
            },
            {
              categoryChild: [
                { categoryName: '鱼竿鱼线', categoryId: 1027 },
                { categoryName: '浮漂鱼饵', categoryId: 1028 },
                { categoryName: '钓鱼桌椅', categoryId: 1029 },
                { categoryName: '钓鱼配件', categoryId: 1030 },
                { categoryName: '钓箱鱼包', categoryId: 1031 },
                { categoryName: '其它', categoryId: 1032 },
              ],
              categoryName: '垂钓用品',
              categoryId: 108,
            },
            {
              categoryChild: [
                { categoryName: '泳镜', categoryId: 1033 },
                { categoryName: '泳帽', categoryId: 1034 },
                { categoryName: '游泳包防水包', categoryId: 1035 },
                { categoryName: '女士泳衣', categoryId: 1036 },
                { categoryName: '男士泳衣', categoryId: 1037 },
                { categoryName: '比基尼', categoryId: 1038 },
                { categoryName: '其它', categoryId: 1039 },
              ],
              categoryName: '游泳用品',
              categoryId: 109,
            },
            {
              categoryChild: [
                { categoryName: '冲锋衣裤', categoryId: 1040 },
                { categoryName: '速干衣裤', categoryId: 1041 },
                { categoryName: '滑雪服', categoryId: 1042 },
                { categoryName: '羽绒服/棉服', categoryId: 1043 },
                { categoryName: '休闲衣裤', categoryId: 1044 },
                { categoryName: '抓绒衣裤', categoryId: 1045 },
                { categoryName: '软壳衣裤', categoryId: 1046 },
                { categoryName: 'T恤', categoryId: 1047 },
                { categoryName: '户外风衣', categoryId: 1048 },
                { categoryName: '功能内衣', categoryId: 1049 },
                { categoryName: '军迷服饰', categoryId: 1050 },
                { categoryName: '登山鞋', categoryId: 1051 },
                { categoryName: '雪地靴', categoryId: 1052 },
                { categoryName: '徒步鞋', categoryId: 1053 },
                { categoryName: '越野跑鞋', categoryId: 1054 },
                { categoryName: '休闲鞋', categoryId: 1055 },
                { categoryName: '工装鞋', categoryId: 1056 },
                { categoryName: '溯溪鞋', categoryId: 1057 },
                { categoryName: '沙滩/凉拖', categoryId: 1058 },
                { categoryName: '户外袜', categoryId: 1059 },
              ],
              categoryName: '户外鞋服',
              categoryId: 110,
            },
            {
              categoryChild: [
                { categoryName: '帐篷/垫子', categoryId: 1060 },
                { categoryName: '睡袋/吊床', categoryId: 1061 },
                { categoryName: '登山攀岩', categoryId: 1062 },
                { categoryName: '户外配饰', categoryId: 1063 },
                { categoryName: '背包', categoryId: 1064 },
                { categoryName: '户外照明', categoryId: 1065 },
                { categoryName: '户外仪表', categoryId: 1066 },
                { categoryName: '户外工具', categoryId: 1067 },
                { categoryName: '望远镜', categoryId: 1068 },
                { categoryName: '旅游用品', categoryId: 1069 },
                { categoryName: '便携桌椅床', categoryId: 1070 },
                { categoryName: '野餐烧烤', categoryId: 1071 },
                { categoryName: '军迷用品', categoryId: 1072 },
                { categoryName: '救援装备', categoryId: 1073 },
                { categoryName: '滑雪装备', categoryId: 1074 },
                { categoryName: '极限户外', categoryId: 1075 },
                { categoryName: '冲浪潜水', categoryId: 1076 },
              ],
              categoryName: '户外装备',
              categoryId: 111,
            },
          ],
          categoryName: '运动健康',
          categoryId: 17,
        },
      ],
    
  })
}
// 获取商品搜索结果
function getGoodsList(req,res) {
   var searchBody= qs.parse(req.body)
   console.log(searchBody);
   if(searchBody.props){
    var pattern = /([^:]+)/g;
    var searchArr1=searchBody.props[0].match(pattern)
      db.query(`select * from goodsattr where category=?`,req.body.keyword,function (err,result) {
        var attrsList= [] 
       result.forEach((ele,index) => {
           var attrValueList=[]
           if(ele.attrValue1){
             attrValueList.push(ele.attrValue1)
           }
           if(ele.attrValue2){
             attrValueList.push(ele.attrValue2)
           }
           if(ele.attrValue3){
             attrValueList.push(ele.attrValue3)
           }
           if(ele.attrValue4){
             attrValueList.push(ele.attrValue4)
           }
           if(ele.attrValue5){
             attrValueList.push(ele.attrValue5)
           }
           if(ele.attrValue6){
             attrValueList.push(ele.attrValue6)
           }
           attrsList.push(
             {
               attrId:ele.attrId,
               attrValueList:attrValueList,
               attrName:ele.attrName
             }
           )
         });
         var pattern = /([^:]+)/g;
         var searchArr=searchBody.order.match(pattern)
         db.query(`select * from goodsdetails where category3Name="${req.body.keyword}" and ${searchArr1[2]}="${searchArr1[1]}" order by price ${searchArr[1]}`,function (err,result) {
          res.send({
            status:200,
            msg:'成功',
            data:{
              attrsList:attrsList,
              goodsList:result,
            }
          })
          })
         })
   }else{
    db.query(`select * from goodsattr where category=?`,req.body.keyword,function (err,result) {
      var attrsList= [] 
     result.forEach((ele,index) => {
         var attrValueList=[]
         if(ele.attrValue1){
           attrValueList.push(ele.attrValue1)
         }
         if(ele.attrValue2){
           attrValueList.push(ele.attrValue2)
         }
         if(ele.attrValue3){
           attrValueList.push(ele.attrValue3)
         }
         if(ele.attrValue4){
           attrValueList.push(ele.attrValue4)
         }
         if(ele.attrValue5){
           attrValueList.push(ele.attrValue5)
         }
         if(ele.attrValue6){
           attrValueList.push(ele.attrValue6)
         }
         attrsList.push(
           {
             attrId:ele.attrId,
             attrValueList:attrValueList,
             attrName:ele.attrName
           }
         )
       });
       var pattern = /([^:]+)/g;
    var searchArr=searchBody.order.match(pattern)
     db.query(`select * from goodsdetails where category3Name=? order by price ${searchArr[1]}`,req.body.keyword,function (err,result) { 
      res.send({
         status:200,
         msg:'成功',
         data:{
           attrsList:attrsList,
           goodsList:result
         }
       })
      })
 
       
       })
   }

    
  }
// 获取商品详情
function getGoodsDetail(req,res){
  const id=req.params.id
  db.query('select * from goodsdetails where id=?',id,function(err,result){
    if(err){
      return res.send({
        status:1,
        msg:'失败',
      })
    }
    res.send({
      status:0,
      msg:'获取成功',
      data:{
        price:result[0].price,
        skuInfo:{
          id:result[0].id,
          price:result[0].price,
          skuName:result[0].title,
          skuDesc:result[0].title,
          weight:1.00,
          skuDefaultImg:result[0].defaultImg,
          isSale:1,
          createTime:result[0].createTime,
          skuImageList:[
            {
              imgUrl:result[0].defaultImg
            },
            {
              imgUrl:result[0].imgUrl1
            },
            {
              imgUrl:result[0].imgUrl2
            },
            {
              imgUrl:result[0].imgUrl3
            },
            {
              imgUrl:result[0].imgUrl4
            },
          ]

        },
        spuSaleAttrList:[
          {
            "id": 5,
            "spuId": 3,
            "baseSaleAttrId": 1,
            "saleAttrName": "颜色",
            "spuSaleAttrValueList": [
                {
                    "id": 9,
                    "spuId": 3,
                    "baseSaleAttrId": 1,
                    "saleAttrValueName": "黑色",
                    "saleAttrName": "颜色",
                    "isChecked": "1"
                },
                {
                    "id": 10,
                    "spuId": 3,
                    "baseSaleAttrId": 1,
                    "saleAttrValueName": "红色",
                    "saleAttrName": "颜色",
                    "isChecked": "0"
                },
                {
                    "id": 11,
                    "spuId": 3,
                    "baseSaleAttrId": 1,
                    "saleAttrValueName": "蓝色",
                    "saleAttrName": "颜色",
                    "isChecked": "0"
                },
                {
                    "id": 12,
                    "spuId": 3,
                    "baseSaleAttrId": 1,
                    "saleAttrValueName": "白色",
                    "saleAttrName": "颜色",
                    "isChecked": "0"
                }
            ]
        }
        ]
      }
    })
  })
}
export default {
  getGoods,
  getGuessLike,
  getFloor,
  getBaseCategoryList,
  getGoodsList,
  getGoodsDetail
}
